package com.ymm.lulutong.constants;


/**
 * 通知类型 枚举
 *
 * @author guorui
 */
public enum NoticeTypeEnum {
    /**
     * 货源通知
     */
    CARGO_NOTICE(0, "货源通知"),
    /**
     * 订单通知
     */
    ORDER_NOTICE(1, "订单通知"),
    /**
     * 客服通知
     */
    AGENT_NOTICE(2, "客服通知"),
    /**
     * 系统通知
     */
    SYSTEM_NOTICE(3, "系统通知"),
    /**
     * 司机通知
     */
    DRIVER_NOTICE(4, "司机通知"),
    /**
     * 货主通知
     */
    SHIPPER_NOTICE(5, "货主通知");


    Integer code;
    String message;

    NoticeTypeEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
